#include <stdio.h>
int main(int argc, char const *argv[])
{
    int year;
    printf("请你输入某个年份:\n");
    scanf("%d", &year);
    if (year % 4 == 0 || (year % 400 == 0 && year % 100 != 0))
    {
        printf("%d是闰年\n", year);
    }
    else
        printf("%d不是闰年\n", year);
    return 0;
}
